﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace TinyPMS_Jerusalem.Controllers
{
    public class SharedController : Controller
    {
        public ActionResult Error(string id)
        {
            if (string.IsNullOrEmpty(id))
            {
                ViewData["ErrorID"] = "未知ID";
                return View();
            }
            else
            {
                ViewData["ErrorID"] = id;
                return View();
            }
        }

    }
}
